<?php

namespace app\common;

use app\model\Config;
use app\tool\Http;

class Amap
{

    static function ip($ip)
    {
        return Http::get('https://restapi.amap.com/v3/ip',['key'=>Config::getFieldByName('gaode_ak','value'),'ip'=>$ip]);
    }
	
}